<a name="avis"></a>
<div class="box620titleorange">
    <div class="bigtop-titre">
        Avis sur {$product.nom|truncate:45:"..."}
    </div>
    <div class="redbigtop-nb" id="nbcomments">
        {$product.comments|@sizeof}
    </div>
</div>
<div class="box620content">
    <div class="comment_area">
        <textarea class="add_comment" ></textarea>
    </div>
    <div id="error-com"></div>
    <div class="poster">
        <a class="lien" id="post" href="{$navigation.currentUrl}#poster">Poster</a>
    </div>
    <div class="clear"></div>
    <div id="product_id" class="hidden">{$product.id}</div>
    <div id="user_id" class="hidden">{$smarty.session.user.id}</div>
    <div id="listing_comments_global">
        <div id="listing_comments">
            {section name=k loop=$product.comments start=$indice.min-1 max=$indice.max}
                <div class="comment" id="comment_{$product.comments[k].id}">
                    <div class="comment_user">
                        <div class="comment_thumb_user">
                            <a href="{$product.comments[k].user.url}" title="Profil de {$product.comments[k].user}">
                                <img src="{$product.comments[k].user.mini}" alt="{$product.comments[k].user}" />
                            </a>
                        </div>
                        <div class="comment_name_user">
                            <a href="{$product.comments[k].user.url}" title="Profil de {$product.comments[k].user}">
                                {$product.comments[k].user.short}
                            </a>
                        </div>
                    </div>
                    <div class="comment_text">
                            {$product.comments[k].texte}
                    </div>
                    {if $product.comments[k].user.id==$smarty.session.user.id}
                    <div class="comment_delete">
                                <img src="{$IMG_PATH}icones/cross.png" alt="" />
                    </div>
                    {/if}
                    <div class="comment_date">
                                {$product.comments[k].added|date_format:"%e %b %Y"} &agrave; {$product.comments[k].added|date_format:"%Hh%M"}
                    </div>
                    {if $smarty.section.k.iteration!=$pager.nb}
                        <div class="clear"></div>
                        <div class="separator">
                            <img src="{$IMG_PATH}boxes/separator519.png" alt="" />
                        </div>
                    {/if}
                </div>
            {/section}
        </div>
    </div>
    <div class="clear"></div>
    {if $product.comments|@sizeof > $indice.max}
        <div class="pager">
                {include file="boxes/pager.tpl"}
        </div>
    {/if}
</div>
<div class="box620ass"></div>